package com.seplayer.control.test;

import java.util.List;

import android.util.Log;

import com.seplayer.control.CtrlFile;

public class Tset2 {
	public void a(){
		//init();
		 CtrlFile cf=new CtrlFile();
		 List<String> list=cf.searchNewFile("/mnt/sdcard", ".mp3", null);
		/* list.add("/mnt/sdcard/a.mp3");
		 list.add("/mnt/sdcard/b.mp3");
		 list.add("/mnt/sdcard/c.mp3");*/
		// list=cf.filterNewFile(list);
	while(cf.isSearching()){
				 try {
					Thread.sleep(2020);
				} catch (InterruptedException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
			 }
			 for(int i=0;i<cf.getPathListNew().size();i++){
				 Log.i("testCF", "::SDFSDFSDFSDF::"+cf.getPathListNew().get(i));
			 }
		 
		 
		 cf.addDataBase(cf.getPathListNew());
	}
}
